package com.zjw.xm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zjw1
 * @since 2022-08-03
 */
@TableName("cr_article")
public class CrArticle implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

    private String title;

    private String author;

    private String createTime;

    private String content;

    
    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public String getTitle() {
        return title;
    }

      public void setTitle(String title) {
          this.title = title;
      }
    
    public String getAuthor() {
        return author;
    }

      public void setAuthor(String author) {
          this.author = author;
      }
    
    public String getCreateTime() {
        return createTime;
    }

      public void setCreateTime(String createTime) {
          this.createTime = createTime;
      }
    
    public String getContent() {
        return content;
    }

      public void setContent(String content) {
          this.content = content;
      }

    @Override
    public String toString() {
        return "CrArticle{" +
              "id=" + id +
                  ", title=" + title +
                  ", author=" + author +
                  ", createTime=" + createTime +
                  ", content=" + content +
              "}";
    }
}
